<template>
  <div class="bodyy">
      <!-- 中间部分分两部分，左边树形菜单，右边内容 -->
        <div class="tree">
            <treenav />
        </div>
        <div class="info">
            <list />
        </div>

    <router-view />
  </div>
</template>

<script>
import list from '@/components/list.vue'
import treenav from '@/components/treenav.vue'

export default {
  name: 'bodyy',
  components: {
    list,
    treenav
  }
}
</script>

<style scoped>
div.tree,
div.info {
    display: inline-block;
}
div.tree {
width: 12%;
margin-left: 2%;
}
div.info {
    width: 82%;
}
</style>
      